{extend name="public/base"}

{block name="title"}
经销商首页
{/block}

{block name="style"}
{css href="/static/wechat/css/index.css" /}
{css href="/static/wechat/popo1/css/store.css" /}
{/block}

{block name="body"}
<div class="pageControl1 store">
    <div class="nav">
        <div class="msui_navTop">
            <h1 class="msui_navTop-title">店铺</h1>
            <a class="msui_navTop-icon" href="{:url('w_message/index', ['type' => 2])}">
                {gt name="data.new_msg_num|default=0" value="0"}
                <i class="to_messages"></i>
                {else /}
                <i class="micon-message"></i>
                {/gt}
                <span class="weui-badge weui-badge_dot"></span>
            </a>
        </div>
    </div>
    <div class="weui-top">
        <div class="weui-cell store_main_padding">
            <a href="#">
                <div class="weui-cell__hd">
                    <div class="weui-label">
                        <a class="msui_tabCell-img msui_tableImg-circle" href="{:url('w_member_role_info/save_role_info', ['type' => 2])}">
                            <img src="{$member.headimgurl}"  onerror="this.src='/static/wechat/images/tui_03.jpg'" />
                        </a>
                    </div>
                </div>
                <div class="weui-cell__bd">
                    <p class="store_card">
                        <a href="javascript:;" class="cl-3333 fs08">{$member.nickname}</a>
                        {eq name="data.is_certification" value="2"}
                        <a href="javascript:;"> <img src="/static/wechat/images/ss_03.jpg" alt=""/></a>
                        {/eq}
                        {eq name="data.business_license" value="2"}
                        <a href="javascript:;"> <img src="/static/wechat/images/ss_05.jpg" alt=""/></a>
                        {/eq}
                    </p>
                    <p class="cl-9999 fs06">{$data.phone}</p>
                </div>
            </a>
        </div>

        <div class="store_detail2 bg-fff store_list">
            <a href="{:url('dealer_info', ['id' => $data['id']])}">
                <p>
                    <img src="/static/wechat/images/ss1.jpg" alt=""/>
                    <!--添加class为weui-badge和数值即可出现样式,消除显示要removeClass-->
                    <!--<i class="weui-badge">2</i>-->
                </p>
                <p>店铺信息</p>
            </a>
            <a href="{:url('w_member_role_info/save_role_info', ['type' => 2])}">
                <p>
                    <img src="/static/wechat/images/ss2.jpg" alt=""/>
                    <i></i>
                </p>
                <p>店主信息</p>
            </a>
            <a href="{:url('d_wallet/index')}">
                <p>
                    <img src="/static/wechat/images/ss3.jpg" alt=""/>
                    <i></i>
                </p>
                <p>钱包</p>
            </a>
            <a href="{:url('w_address/index')}">
                <p>
                    <img src="/static/wechat/images/ss4.jpg" alt=""/>
                    <i></i>
                </p>
                <p>收货地址</p>
            </a>
        </div>
        <div class="store_detail2 store_detail3 bg-fff">
            <a href="{:url('w_distribution/index', ['type' => 2])}">
                <p>
                    <img src="/static/wechat/images/ss5.jpg" alt=""/>
                    <i></i>
                </p>
                <p>我的分销</p>
            </a>
            <a href="{:url('service/index', ['type' => 2])}">
                <p>
                    <img src="/static/wechat/images/store_44.jpg" alt=""/>
                    <i></i>
                </p>
                <p>客服</p>
            </a>
            <a href="{:url('set/index', ['type' => 2])}">
                <p>
                    <img src="/static/wechat/images/store_45.jpg" alt=""/>
                    <i></i>
                </p>
                <p>设置</p>
            </a>
        </div>
    </div>

</div>
{/block}
{block name="javascript"}

{/block}